
#include <SI4735.h>

enum Radio_Band_Type {
  FM_BAND_TYPE,
  AM_BAND_TYPE,
  SW_BAND_TYPE,
  SSB_BAND_TYPE,
  AIR_BAND_TYPE
};

extern const char *  radio_init();
extern const char * radio_band_selection(short index);
const char* radio_freq_name();
extern uint16_t radio_getCurrentFreq();
extern uint16_t radio_freq(int16_t freq);
extern void showStatus();
extern void si5351e();
extern uint8_t radio_getVolume();
extern uint8_t radio_setVolume(uint8_t);
extern uint8_t radio_getRssi();
extern uint8_t radio_getSnr();
extern void radio_getCurrentReceivedSignalQuality();
extern int8_t radio_agc();
extern void radio_setAgc(int8_t idx);
extern int8_t radio_avc();
extern void radio_setAvc(uint8_t gain);
extern int radio_bfo();
extern void radio_setBfo(int bfo);
extern const char * radio_getFrequencyStep() ;
extern const char *  radio_bandWidth();
extern void radio_setBandWidth(int8_t bw);
extern const char * radio_pilot();
extern bool radio_lbub_ssb(int index);
extern bool radio_is_ssb();
extern void all_am_ssb_switch();
extern bool is_all();
extern void radio_stationUp(void (*showFunc)(uint16_t f));
extern void radio_stationDown(void (*showFunc)(uint16_t f));
extern void radio_setFrequencyStep(int index);

